<?php
    
    if ( isset($_POST['gameId']) )
    {
        $arr = array("StefanIP" => "212.5.143.222", "PetarIP" => "212.5.143.19");
        
        echo json_encode($arr);
    }
    else
    {
        $arr = array("Error" => "Invalid parameters");
        
        echo json_encode($arr);
    }

?>